<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String r = request.getParameter("r");
%>

<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <script type="text/javascript" src="<%=basePath %>admin/assets/js/jquery-1.10.2.min.js"></script>
	<script>
	var url='<%=basePath %>api/method_getFile.action?r=<%=r %>';
	$.ajax({
		url: url,
		type: 'GET',
		success: function(data) {
		window.location.href='<%=basePath %>'+data;
		}
	});
	
	
	//window.location.href="2012YearHoliday.pdf";
	</script>
 </head>
 <body>
  
 </body>
</html>
